package com.itheima.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.entity.Setmeal;
import com.itheima.reggie.dto.SetmealDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Lff
 * @date 2022/3/2
 */
@Mapper
public interface SetmealMapper extends BaseMapper<Setmeal> {
    Page<SetmealDto> selecyMySetmealDishPage(Page<SetmealDto> pages, @Param("name") String name);

    SetmealDto getOneWithCategory(Long id);
}
